<template>
  <div class="hello">
    <div class="lop">
      <span style="font-size: 130px">准备好做题了吗</span>
    </div>
    <div class="yes">
      <a-button shape="round" status="success">
        <span style="font-size: 60px" @click="bush">Yea Sir !</span>
      </a-button>
    </div>
  </div>
</template>

<script lang="ts">
import { defineComponent } from "vue";
import router from "@/router";

export default defineComponent({
  name: "HelloWorld",
  props: {
    msg: String,
  },
  methods: {
    bush() {
      router.push({ path: "/login" });
    },
  },
});
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
.lop {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 200px;
}

.yes {
  top: 30px;
  display: flex;
  justify-content: center;
}
</style>
